//
//  SYDAboutViewController.m
//  PinGJByOwnerSide
//
//  Created by lantaiyuan on 2017/8/22.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
//

#import "SYDAboutViewController.h"

@interface SYDAboutViewController ()
@property (weak, nonatomic) IBOutlet UILabel *versionNumberLbl;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topConstraint;

@end

@implementation SYDAboutViewController
#pragma mark - 导航栏
- (void)navigationBarHandle{
    
    WEAKSELF
    [weakSelf backButtonAction:^{
        [weakSelf.navigationController popViewControllerAnimated:YES];
    }];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationBar.title = @"关于坐公交-车主";
    self.versionNumberLbl.text = [@"V" stringByAppendingString:[NSString getShortVersion]];
    [self navigationBarHandle];
    if (iPhone8_X) {
        self.topConstraint.constant = 146;
    } else {
        self.topConstraint.constant = 124;
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
